/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.hamacekj.geometr;

import cz.hamacekj.geometr.plugin.ISegmentObject;

/**
 * Výchozí implementace {@link ISegmentObject}
 * @author hamacekh
 */
public class SegmentObject implements ISegmentObject{

    private Point A;
    private Point B;

    public SegmentObject(Point A, Point B) {
        this.A = A;
        this.B = B;
    }
    
    @Override
    public Point getA(){
        return A;
    }
    
    @Override
    public Point getB(){
        return B;
    }
    
    
    
}
